package com.diko.orderservice.client;

import com.diko.commonUtils.vo.CourseWebVoOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author Emma Li
 * @date 2020/10/25 - 15:40
 */
@Component
@FeignClient("service-edu")
public interface EduClient {
    @PostMapping("/diko_parent/eduservice/controller/front/CourseFrontController/{courseId}")
    CourseWebVoOrder getCourseInfoDto(@PathVariable("courseId") String courseId);
}
